package wikiPhilia_two;

import processing.core.PApplet;
import processing.core.PImage;

public class WikiPhilia_two_MAIN extends PApplet {
	WikiPhilia_two_005 wp;
	/**
	 * @param args
	 */
	String dataPath = "E:\\projects\\eclipse_projects\\wikiphilia_TSV_sicherung\\";
	String dataRoot = "E:\\projects\\eclipse_projects\\wikiphilia\\src\\data\\";

	public void setup() {
		size(800,800,P3D);
		//wp = new WikiPhilia_two_003(this, "Albert_Einstein", (dataPath + "Albert_Einstein_complete_stuff.tsv"));
		wp = new WikiPhilia_two_005(this, "Coby_Miller", (dataPath + "Coby_Miller_stuff3.tsv"));
		wp.setup();
		//myBg = loadImage (dataRoot + "bg_2000.jpg");

	}
	
	public void draw() {
//		pushMatrix();
//		translate(0,0,-900);
//		texture(myBg); 
//		vertex((width-myBg.width)/2, (width-myBg.width)/2, 0,0);
//		vertex(width-((width-myBg.width)/2),(width-myBg.width)/2, 0, 0, myBg.width);
//		vertex(width-((width-myBg.width)/2),width-((width-myBg.width)/2) , myBg.width, myBg.width);
//		vertex((width-myBg.width)/2, width-((width-myBg.width)/2), 0, 0, myBg.width);
//		//rect(0,0,400, 400); 
//		endShape();

		wp.draw();
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
	}

}
